package studentPackage;

import java.util.*;

public class ConcreteStudentCreator extends StudentCreator {
	
	@Override
	public HashSet<Student> createStudents() {
		HashSet<Student> studentSet = new HashSet<Student>();
		
		/*Aici creez patru obiecte pe care le adaug apoi in set*/
		UndergraduateStudent undergraduate = new UndergraduateStudent("Mihai", "Ivan", 
				false, false, false, false, 3, 0, 2);
		GraduateStudent graduate = new GraduateStudent("Stefan", "Mihailescu", 
				true, true, 15, 1);
		PartTimeStudent partTime = new PartTimeStudent("Lucian", "Nita", true, 
				false, 4, 3);
		PartTimeStudent partTimeGraduate = new PartTimeStudent("Andrei", "Lungu", 
				true, true, 6, 2);
		
		/*Adaugare in set*/
		studentSet.add(undergraduate);
		studentSet.add(graduate);
		studentSet.add(partTime);
		studentSet.add(partTimeGraduate);
		
		return studentSet;
		
	}

}
